﻿namespace MicroCloud.Database
{
    #region "数据库触发器处理器接口"
    /// <summary>
    /// 数据库触发器处理器接口
    /// </summary>
    public interface ITriggerHandler : IDataBaseHandler
    {
        #region "方法"
        #region "初始化"
        /// <summary>
        /// 初始化
        /// </summary>
        /// <param name="dbContextType">数据上下文类型</param>
        void Initialize(Type dbContextType);
        #endregion
        #region "获取触发器名称"
        /// <summary>
        /// 获取触发器名称
        /// </summary>
        /// <param name="dbContext">数据上下文</param>
        /// <returns>触发器名称</returns>
        string GetTriggerName(IDbContext dbContext);
        #endregion

        #endregion

    }
    #endregion

}
